# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=rpmextract
pkgver=1.0
pkgrel=7
pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
url="http://www.archlinux.org"
arch=('any')
license=('GPL')
depends=('bash' 'libarchive' 'coreutils')
source=('rpmextract.sh' 'rpm2cpio')
md5sums=('5626272c0b22437f9200d2d2b718a642'
         '57a4e99bedcefadc2f89006ce98d2e60')

package() {
  install -d ${pkgdir}/usr/bin
  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/
  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/
}
